package cn.su.pojo;

import java.util.Date;

 //订单bean
public class bill {
          long id; // '主键ID',
         String   billCode ;//账单编码',
         String   productName;// '商品名称',
         String   productDesc;// '商品描述',
         String   productUnit;// '商品单位',
          double  productCount;// '商品数量',
          double  totalPrice; //商品总额',
           int    isPayment; //是否支付（1：未支付 2：已支付）',
          long  createdBy; // '创建者（userId）',
           Date creationDate ;// '创建时间',
           long modifyBy; // '更新者（userId）',
           Date  modifyDate; // '更新时间',
           long  providerId ;// '供应商ID',
           String  proName;//------供应商名称
    public bill() {
    }

    public bill(long id, String billCode, String productName, String productDesc, String productUnit, double productCount, double totalPrice, int isPayment, long createdBy, Date creationDate, long modifyBy, Date modifyDate, long providerId, String  proName) {
        this.id = id;
        this.billCode = billCode;
        this.productName = productName;
        this.productDesc = productDesc;
        this.productUnit = productUnit;
        this.productCount = productCount;
        this.totalPrice = totalPrice;
        this.isPayment = isPayment;
        this.createdBy = createdBy;
        this.creationDate = creationDate;
        this.modifyBy = modifyBy;
        this.modifyDate = modifyDate;
        this.providerId = providerId;
        this.proName= proName;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public double getProductCount() {
        return productCount;
    }

    public void setProductCount(double productCount) {
        this.productCount = productCount;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public int getIsPayment() {
        return isPayment;
    }

    public void setIsPayment(int isPayment) {
        this.isPayment = isPayment;
    }

    public long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public long getProviderId() {
        return providerId;
    }

    public void setProviderId(long providerId) {
        this.providerId = providerId;
    }

     public String getproName() {
         return proName;
     }

     public void setproName(String proName) {
         this.proName = proName;
     }

     @Override
     public String toString() {
         return "bill{" +
                 "id=" + id +
                 ", billCode='" + billCode + '\'' +
                 ", productName='" + productName + '\'' +
                 ", productDesc='" + productDesc + '\'' +
                 ", productUnit='" + productUnit + '\'' +
                 ", productCount=" + productCount +
                 ", totalPrice=" + totalPrice +
                 ", isPayment=" + isPayment +
                 ", createdBy=" + createdBy +
                 ", creationDate=" + creationDate +
                 ", modifyBy=" + modifyBy +
                 ", modifyDate=" + modifyDate +
                 ", providerId=" + providerId +
                 ", proName='" + proName + '\'' +
                 '}';
     }
 }
